package com.ydsungan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class CommentsVO implements Serializable {

    private Integer id;
    private String userId;
    private String commentText;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;
    private Integer likeNum;
    private Integer postId;

    private String userName;
    private String userAvatarUrl;
    private Integer liked;


}